package com.jueming.miser.auth.service;

import com.jueming.miser.auth.to.MiserOrderTo;
import com.jueming.miser.common.utils.R;
import org.springframework.data.redis.core.BoundHashOperations;

import java.util.List;


public interface CartService {

    R addToCart(MiserOrderTo to);

    List<MiserOrderTo> listCart();

    BoundHashOperations<String, Object, Object> getCartOps();

    R addToCart(Integer wareId, Integer wareCount);
}
